package com.sc.web.gwt.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.sc.web.gwt.shared.model.AgentAdmin;

import java.util.List;

public interface AgentAdminDataManagementServiceAsync {
    void getAllAgentAdmins(AsyncCallback<List<AgentAdmin>> async);
    void searchAgentAdmins(String searchText, int selectedIndex, AsyncCallback<List<AgentAdmin>> async);

    void saveOrUpdateAgentAdminData(AgentAdmin agentAdmin, AsyncCallback<Boolean> async);

    void getAgentAdminInfo(AsyncCallback<AgentAdmin> async);
}
